using System.Collections.Generic;

namespace IssueExplorer.Providers.TeamFoundationServer.Presenters
{
    public static class ICollectionExtensions
    {
        public static void AddList<T>(this ICollection<T> projects, IEnumerable<T> currentProjects)
        {
            foreach (var project in currentProjects)
            {
                projects.Add(project);
            }
        }
    }
}